import module namespace page="http://sendmeafilter.com/common/page" at "common/page.xqy";

declare boundary-space preserve;
declare option xdmp:mapping "false";

page:page (
	(
		page:meta('title', 'Back Office - SendMeAFilter.com'),
		page:meta('backoffice')
	),

	<div class="wrapper">
		<div class="caption">
			<div float="right">
				<h3>Back Office {xdmp:get-request-field("msg")}</h3>
			</div>
			<div class="leftNav">
				<div float="left">
					<h5>Manage Orders</h5>
					<br/>
					<div class="indent">
						<a href="/orders">Orders List</a>
						<br/>
					</div>
					<br/>
					<h5>Manage Affiliates</h5>
					<br/>
					<div class="indent">
						<a href="/affiliates">Affiliates List</a>
						<br/>
					</div>
					<br/>
					<h5>Manage Filters</h5>
					<br/>
					<div class="indent">
						<a href="/">Order</a>
						<br/>
						<a href="/prices">Pricing</a>
						<br/>
					</div>
					<br/>
				</div>
				<div>
					<h5>Configuration</h5>
					<br/>
					<div class="indent">
						<a href="/editconfig?file=/config/aboutus.xml">About Us</a>
						<br/>
						<a href="/editconfig?file=/config/whychooseus.xml">Why Choose Us</a>
						<br/>
						<a href="/editconfig?file=/config/terms.xml">Terms of Service</a>
						<br/>
						<a href="/editconfig?file=/config/contactus.xml">Contact Us</a>
						<br/>
						<a href="/editconfig?file=/config/mervratings.xml">About Merv Ratings</a>
						<br/>
						<a href="/editconfig?file=/config/carbonfilters.xml">About Carbon Filters</a>
						<br/>
						<a href="/editconfig?file=/config/legalstuff.xml">Legal Stuff</a>
						<br/>
						<a href="/editconfig?file=/config/helpfullinks.xml">Helpful Links</a>
						<br/>
					</div>
				</div>
			</div>
		</div>
	</div>
)
